package com.ddd.domain.model.sales;

/**
 * 收银员
 */
public interface PosRepository {

    /**
     *
     * @param salesEntity
     * @return
     */
    boolean update(SalesEntity salesEntity);

    /**
     * @param salesEntity
     * @return
     */
    boolean save(SalesEntity salesEntity);

    /**
     * @param orderId
     * @return
     */
    SalesEntity findOrderId(String orderId);
}
